﻿/**
 * Created by pkd on 14-5-21.
 */

var express = require('express');
var path = require('path');
var CONFIG = module.exports;


CONFIG.GM_DB = {
    host: '10.0.0.10',
    port: '3306',
    user: 'admin',
    password: 'admin',
    database: 'shop_mall',
    connectionLimit: 300
};

CONFIG.RDS_PORT = 6379;
CONFIG.RDS_HOST = '10.0.0.10';
CONFIG.RDS_PWD = 'root';
CONFIG.RDS_OPTS = {};

CONFIG.JPUSH_CONFIG = {
    appkey: "",
    masterSecret: "",
    production: 0                               // 0 - 开发环境 , 1 - 生产环境
};

CONFIG.picsMainPath = path.join(__dirname, './pic');
CONFIG.picsGoodsPath = path.join(__dirname, './pic/goods');
CONFIG.picsBannerPath = path.join(__dirname, './pic/banner');

CONFIG.isDebugMode = true;
CONFIG.isStartBackgroundTask = false;


CONFIG.APP_secret = 'yRTfxwt2QEtK22CX';
CONFIG.APP_key = 'shopmall';

CONFIG.TokenRedisDb = 6;
CONFIG.PDCookiesRedisDb = 3;
CONFIG.TaoSrvHost = 'http://10.0.0.113:3000';
CONFIG.UserCenterHost = 'http://10.0.0.113:5000';
CONFIG.appSid = 'shopmall';
CONFIG.appSecret = 'yRTfxwt2QEtK22CX';




